﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework;

namespace Squog_1._1
{
    /// <summary>
    /// General object that is part of the game.
    /// </summary>
    public abstract class GameObject
    {
        #region Members

        //Stores the position in a private member
        private Vector2 position;

        #endregion

        #region Properties
        /// <summary>
        /// The current position of the game object
        /// </summary>
        public Vector2 Position { get { return position; } set { position = value; } }
        #endregion

        #region Update
        /// <summary>
        /// Updates the game object
        /// </summary>
        /// <param name="gameTime">The current game time.</param>
        public virtual void Update(GameTime gameTime) { }
        #endregion
    }
}
